<%--
功能：商品名称
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="product" tagdir="/WEB-INF/tags/product"%>
<%@ tag import="org.springframework.context.ApplicationContext" %>
<%@ tag import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%@ tag import="com.probiz.estore.product.service.ProductManager" %>
<%@ tag import="com.probiz.estore.common.model.product.Product" %>
<%@ tag import="org.apache.commons.lang.StringUtils;" %>
<%@ attribute name="product" type="com.probiz.estore.common.model.product.Product" required="false" description="商品"%>
<%@ attribute name="target" %>
<%@ attribute name="style" %>
<%@ attribute name="linkClass" %>
<%@ attribute name="id" %>
<c:if test="${empty target}">
	<c:set var="target" value="_blank" scope="page"/>
</c:if>
<a href="<product:productUrl product="${product}"/>"
title="${product.productName}"  
<c:if test="${not empty target}"> target="${target}"</c:if>
<c:if test="${not empty style}"> style="${style}"</c:if>
<c:if test="${not empty id}"> id="${id}"</c:if>
<c:if test="${not empty linkClass}"> class="${linkClass}"</c:if>
>${product.productName}</a>




